package com.lightkits.wms.database.dao;

import com.lightkits.wms.database.model.WmSimTicketModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lanmi.xin@gmail.com
 * Created on 2019-04-19
 */
@Mapper
public interface WmsDeliveryTicketMapper {
    List<WmSimTicketModel> querySimTicketByParams(@Param("ticketNumOrPartyName") String ticketNumOrPartyName,
                                                  @Param("orgCode") String orgCode);

    List<WmSimTicketModel> queryTicketByIdOrNum(@Param("ticketIdOrNum") String ticketIdOrNum);
}